CC=gfortran
CFLAGS=-g

tstrandom: tstrandom.o randgen.o
	$(CC) -o $@ $^

tstrandom.o: tstrandom.f90
	$(CC) $(CFLAGS) $< -c 

randgen.o: randgen.f
	$(CC) $(CFLAGS) $< -c 

clean:
	rm -f *.o tstrandom
